Skip to content

Enable JPEG Encoder (jpegenc) Plugin Support for prop image#2010

Open
JaiShiv05 wants to merge 2 commits intoqualcomm-linux:masterfrom
JaiShiv05:enable_jpeg_enc
Open

Enable JPEG Encoder (jpegenc) Plugin Support for prop image#2010
JaiShiv05 wants to merge 2 commits intoqualcomm-linux:masterfrom
JaiShiv05:enable_jpeg_enc

Conversation

@JaiShiv05
Copy link
Copy Markdown
Contributor

@JaiShiv05 JaiShiv05 commented Apr 21, 2026

Adds support for the GStreamer jpegenc plugin by enabling it through the unified camera PACKAGECONFIG in the imsdk common configuration. This introduces offline JPEG encoding alongside existing imsdk camera plugins, while keeping the camera-service dependency scoped to platform-specific dynamic layers.

@@ -1 +1 @@
PACKAGECONFIG:append = " camera-base qmmfsrc"
PACKAGECONFIG:append = " camera-base qmmfsrc jpegenc"
Copy link
Copy Markdown
Contributor

@quaresmajose quaresmajose Apr 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add something on the commit explaining why this is done in dynamic-layers? To me it seems that it's because it depends on camera-service, could that be the reason?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

Copy link
Copy Markdown
Contributor

@lumag lumag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this separate from qmmfsrc plugin? Can we have a single config for all CamX plugins?

@JaiShiv05
Copy link
Copy Markdown
Contributor Author

Why is this separate from qmmfsrc plugin? Can we have a single config for all CamX plugins?

Done.

@lumag
Copy link
Copy Markdown
Contributor

lumag commented Apr 24, 2026

No stray merge commits.

@JaiShiv05 JaiShiv05 marked this pull request as draft April 24, 2026 05:26
Replace separate camera-base and qmmfsrc PACKAGECONFIG options with a
single camera option.

The new camera PACKAGECONFIG enables:
- GST camera base
- qmmfsrc plugin
- VHDR, EIS, and offline IFE support flags

Update the prop bbappend to use the new camera config and drop the previous
camera-base and qmmfsrc entries, reducing config fragmentation and
keeping camera-related features in sync.

Signed-off-by: Jai Shiv <jshiv@qti.qualcomm.com>
Extend the camera PACKAGECONFIG to include the GST JPEG encoder plugin.
JPEGENC is now enabled when camera support is ON and explicitly disabled
when camera support is OFF.

This keeps the JPEG encoder aligned with the rest of the camera stack
(camera base, qmmfsrc, VHDR, EIS, and offline IFE support) while preserving
the existing camera-service dependency.

Signed-off-by: Jai Shiv <jshiv@qti.qualcomm.com>
@JaiShiv05 JaiShiv05 marked this pull request as ready for review April 24, 2026 09:22
@JaiShiv05 JaiShiv05 requested a review from lumag April 24, 2026 09:24
@JaiShiv05
Copy link
Copy Markdown
Contributor Author

No stray merge commits.

Resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants